<include file="__THEME__/user_header" />
<script type="text/javascript" src="../Public/js/district.js" ></script>
<script type="text/javascript" src="../Public/js/jquery.validator.reg.js"></script>
<script type="text/javascript" src="../Public/js/jquery.corners.min.js"></script>
<script type="text/javascript" src="../Public/js/register.js" ></script>
	<article class="app_widgets">
		<form  action="{:U('home/Account/privacy')}"  method="POST" class="validate" >
			<!-- widget begin-->
			<div class="widget_group">
				<h2 class=""><a href="">基本资料</a></h2>
				<div class="widget form_content basic_file hidden">
						<div class="body">
						 <!-- begin form items-->
						 <div class="control-group">
				            <label class="control-label" for="input01">居住地</label>
				            <div class="controls">
				               <div class="area_selector"></div>
				            </div>
				          </div>
				          <div class="control-group">
				            <label class="control-label" for="input01">小区/村镇地址</label>
				            <div class="controls">
				               <input type="text" class="input-xlarge district" require="true" datatype="limit" min="2" name="address" value="{$userInfo.profile.address}" msg="输入你所在的社区或村镇信息" />
			             	   <div id="help_address" class="help"> <p>提供小区信息以找到你身边的伙伴</p></div>
			              	   <div id="error_address" class="error_tips" style="display:none;"></div>
				            </div>
				          </div>

				          <div class="control-group">
				            <label class="control-label" for="input01">宝宝性别</label>
				            <div class="controls">
				               <label class="multiple_input sex"><input type="radio" name="sex"  value="0" <eq name="userInfo.sex" value="0">checked='true'</eq>/>男{$userInfo.sex}</label>
			              	   <label class="multiple_input sex"><input type="radio" name="sex"  value="1" <eq name="userInfo.sex" value="1">checked='true'</eq>/>女</label>
				            </div>
				          </div>
				          <!-- end items-->
			  	          <div class="form-actions">
				            <button type="submit" class="btn btn-primary">保存</button>
				          </div>
						</div>
				</div>
			</div>
			<!-- widget end -->

			<!-- widget begin-->
			<div class="widget_group">
				<h2><a href=""  class="on">健康档案</a></h2>
				<div class="widget form_content health_file">
					<form action="" method="POST" >
						<!-- begin form items -->
						<div class="body">
							  <div class="control-group">
					            <label class="control-label" for="input01">生日</label>
					            <div class="controls">
					              <input type="text" class="input-xlarge" name="birthday[]" />
					              <div class="help"> <p>找你同龄的小伙伴</p></div>
					            </div>
					          </div>

					          <div class="control-group">
					            <label class="control-label" for="input01">血型</label>
					            <div class="controls">
					               <select name="blood_type" >
					               	<option>AB</option>
					               	<option>A</option>
					               	<option>B</option>
					               	<option>O</option>
					               </select>
					               <div class="help"> <p>找你性格差不多的小伙伴</p></div>
					            </div>
					          </div>

					          <div class="control-group">
					            <label class="control-label" for="input01">体重(kg)</label>
					            <div class="controls">
					              <input type="text" class="input-xlarge" name="weight" />
					              <div class="help"> <p>根据体重来选择符合你的营养信息</p></div>
					            </div>
					          </div>

					          <div class="control-group">
					            <label class="control-label" for="input01">身高(cm)</label>
					            <div class="controls">
					              <input type="text" class="input-xlarge" name="height" />
					              <div class="help"> <p>根据身高给你各阶段的营养建议</p></div>
					            </div>
					          </div>

					          <div class="control-group">
					            <label class="control-label" for="input01">性格</label>
					            <div class="controls">
					               <select name="blood_type" >
					               	<option>内向</option>
					               	<option>外向</option>
					               	<option>中性</option>
					               </select>
					               <div class="help"> <p>用于推荐改良性格的资料</p></div>
					            </div>
					          </div>

					          <div class="control-group">
					            <label class="control-label" for="input01">家庭情况</label>
					            <div class="controls">
					              <label class="multiple_input parent"><input type="radio" name="parents" checked value="2" />双亲</label>
					              <label class="multiple_input parent"><input type="radio" name="parents"  value="1"/>单亲</label>
					            </div>
					          </div>

					          <div class="control-group">
					            <label class="control-label" for="input01">我是孩子的</label>
					            <div class="controls">
					               <select name="parent_type" >
					               	<option value="0">爸爸</option>
					               	<option value="1">妈妈</option>
					               	<option value="2">爷爷</option>
					               	<option value="3">奶奶</option>
					               	<option value="4">外公</option>
					               	<option value="5">外婆</option>
					               </select>
					               <div class="help"> <p>选择合适的身份以获得你需要的资料</p></div>
					            </div>
					          </div>

				  	          <div class="form-actions">
					            <button type="submit" class="btn btn-primary">保存</button>
					          </div>
						</div>
						<!-- end form items-->
					</form>
				</div>
			</div>
			<!-- widget end -->

			<!-- widget begin-->
			<div class="widget_group">
				<h2><a href=""  class="on">联系方式</a></h2>
				<div class="widget form_content contacts">
					<form action="" method="POST" >
						<!-- begin form items -->
						<div class="body">
					          <div class="control-group">
					            <label class="control-label">联系电话</label>
					            <div class="controls">
					              <input type="text" class="input-xlarge" name="phone" />
					              <div class="help"> 行动电话,给家人保持随时联系</div>
					            </div>
					          </div>

					          <div class="control-group">
					            <label class="control-label">QQ</label>
					            <div class="controls">
					              <input type="text" class="input-xlarge" name="qq" size="20" />
					              <div class="help"> </div>
					            </div>
					          </div>

					          <div class="control-group">
					            <label class="control-label">邮箱</label>
					            <div class="controls">
					              <input type="text" class="input-xlarge" name="email"/>
					              <div class="help"> </div>
					            </div>
					          </div>

				  	          <div class="form-actions">
					            <button type="submit" class="btn btn-primary">保存</button>
					          </div>

						</div>
						<!-- end form items-->
					</form>
				</div>
			</div>
			<!-- widget end -->

			<!-- widget begin-->
			<div class="widget_group">
				<h2><a href=""  class="on">亲人</a></h2>
				{:W('FamilyMember', $ts['user'])}
			</div>
			<!-- widget end -->
	</article>

<include file="__THEME__/user_footer" />
